/**
 * COPYRIGHT HangZhou Trustway Technology Company Limited
 * All right reserved.
 */
package com.robam.cloud.common.util.wechat;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description
 * @Author 薛铁琪
 * @CreateTime 2020-07-20 18:35
 * @Version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WechatUser implements Serializable {
    private String subscribe;    //用户是否订阅该公众号标识，值为0时，代表此用户诶有关注该公众号，拉取不到其余信息
    private String openid;    //用户的唯一标识
    private String nickname;    //用户昵称
    private String sex;    //用户性别，1为男，2为女
    private String province;    //用户个人资料填写的省份
    private String city;    //用户个人资料填写的城市
    private String country;    //国家，如中国为CN
    private String headimgurl;    //用户头像，用户没有头像时该项为空
    private String privilege;//用户特权信息，json数组
    private String unionId;

}
